package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._06原型模式._1基本代码;

public class Test {

	public static void main(String[] args){



		ConcretePrototype p1 = new ConcretePrototype("编号123456");
		System.out.println("原ID:"+ p1.getID());

		ConcretePrototype c1 = (ConcretePrototype)p1.clone();
		System.out.println("克隆ID:"+ c1.getID());


	}
}





